3.1898 \(\int \left (3-5 x+2 x^2\right ) \, dx\)

Optimal. Leaf size=18 \[ \frac{2 x^3}{3}-\frac{5 x^2}{2}+3 x \]

[Out]

3*x - (5*x^2)/2 + (2*x^3)/3

_______________________________________________________________________________________

Rubi [A]  time = 0.00802677, antiderivative size = 18, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 0, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0. \[ \frac{2 x^3}{3}-\frac{5 x^2}{2}+3 x \]

Antiderivative was successfully verified.

[In]  Int[3 - 5*x + 2*x^2,x]

[Out]

3*x - (5*x^2)/2 + (2*x^3)/3

_______________________________________________________________________________________

Rubi in Sympy [F]  time = 0., size = 0, normalized size = 0. \[ \frac{2 x^{3}}{3} + 3 x - 5 \int x\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(2*x**2-5*x+3,x)

[Out]

2*x**3/3 + 3*x - 5*Integral(x, x)

_______________________________________________________________________________________

Mathematica [A]  time = 0.0000537571, size = 18, normalized size = 1. \[ \frac{2 x^3}{3}-\frac{5 x^2}{2}+3 x \]

Antiderivative was successfully verified.

[In]  Integrate[3 - 5*x + 2*x^2,x]

[Out]

3*x - (5*x^2)/2 + (2*x^3)/3

_______________________________________________________________________________________

Maple [A]  time = 0.001, size = 15, normalized size = 0.8 \[ 3\,x-{\frac{5\,{x}^{2}}{2}}+{\frac{2\,{x}^{3}}{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(2*x^2-5*x+3,x)

[Out]

3*x-5/2*x^2+2/3*x^3

_______________________________________________________________________________________

Maxima [A]  time = 1.31911, size = 19, normalized size = 1.06 \[ \frac{2}{3} \, x^{3} - \frac{5}{2} \, x^{2} + 3 \, x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(2*x^2 - 5*x + 3,x, algorithm="maxima")

[Out]

2/3*x^3 - 5/2*x^2 + 3*x

_______________________________________________________________________________________

Fricas [A]  time = 0.171157, size = 1, normalized size = 0.06 \[ \frac{2}{3} x^{3} - \frac{5}{2} x^{2} + 3 x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(2*x^2 - 5*x + 3,x, algorithm="fricas")

[Out]

2/3*x^3 - 5/2*x^2 + 3*x

_______________________________________________________________________________________

Sympy [A]  time = 0.030954, size = 15, normalized size = 0.83 \[ \frac{2 x^{3}}{3} - \frac{5 x^{2}}{2} + 3 x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(2*x**2-5*x+3,x)

[Out]

2*x**3/3 - 5*x**2/2 + 3*x

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.236446, size = 19, normalized size = 1.06 \[ \frac{2}{3} \, x^{3} - \frac{5}{2} \, x^{2} + 3 \, x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(2*x^2 - 5*x + 3,x, algorithm="giac")

[Out]

2/3*x^3 - 5/2*x^2 + 3*x